package com.flyco.modules.cms.mapper;

import java.util.List;
import com.flyco.modules.cms.entity.CmsImageTagProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.flyco.modules.cms.vo.CmsImageTagProductPage;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @Description: 订单明细
 * @Author: flyco
 * @Date:   2019-12-25
 * @Version: V1.0
 */
@Repository
public interface CmsImageTagProductMapper extends BaseMapper<CmsImageTagProduct> {

	public boolean deleteByMainId(Long mainId);
    
	public List<CmsImageTagProduct> selectByMainId(Long mainId);

	List<CmsImageTagProductPage> getImageTagProductPage(Page<CmsImageTagProductPage> page, @Param("ew") Wrapper<CmsImageTagProductPage> queryWrapper);
}
